package com.lyf.scm.common.constants;

/**
 * 大数据Es相关常量
 *
 * @author wangchlei
 * @date 2020/10/20
 */
public class BigDataEsConstants {
    /**
     * 索引名称
     */
    public static final String INDEX_NAME_PLAN_DIRECTLY = "scm_plan_index_directly";
    public static final String INDEX_NAME_PLAN_DIFFERIN = "scm_plan_index_differin";
    public static final String INDEX_NAME_PLAN_ACCURACY = "scm_plan_index_accuracy";
    public static final String INDEX_NAME_PLAN_EXECUTE = "scm_plan_index_execute";
    public static final String INDEX_NAME_PLAN_REQUIREMENT = "scm_plan_index_requirement";
    /**
     * 销售计划索引
     */
    public static final String INDEX_NAME_PLAN_SALES_PLAN = "scm_sales_plan_index";
    /**
     * 上述索引对应的各type
     */
    public static final String TYPE_NAME_DIRECTLY = "scm_plan_type_directly";
    public static final String TYPE_NAME_DIFFERIN = "scm_plan_type_differin";
    public static final String TYPE_NAME_ACCURACY = "scm_plan_type_accuracy";
    public static final String TYPE_NAME_EXECUTE = "scm_plan_type_execute";
    public static final String TYPE_NAME_REQUIREMENT = "scm_plan_type_requirement";


    public static final String GROUP_DATA = "groupData";
    public static final String GROUP_DATE = "groupDate";
    public static final String GROUP_PRI = "group_pri";
    public static final String GROUP_MULTI = "group_multi";
    public static final String GROUP_SKU = "group_sku";
    public static final String FILED_SUFFIX = ".keyword";
    /**
     * 导出一次的分组数量
     */
    public static final Integer EXPORT_EACH_LENGTH = 500;


    /**
     * 直营预测计划同步数据任务缓存key
     */
    public static final String POWER_SWITCH = "switchKey";
}
